package cn.net.sinodata.system.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import cn.net.sinodata.system.domain.PmClearingDeadline;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import cn.net.sinodata.common.excel.annotation.ExcelDictFormat;
import cn.net.sinodata.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 清算截止时间视图对象 pm_clearing_deadline
 *
 * @author yinliangyun
 * @date 2025-10-30
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PmClearingDeadline.class)
public class PmClearingDeadlineVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private String id;

    /**
     * 产品编号
     */
    @ExcelProperty(value = "产品编号")
    private String productCode;

    /**
     * 产品名称
     */
    @ExcelProperty(value = "产品名称")
    private String productName;

    /**
     * 默认账户行
     */
    @ExcelProperty(value = "默认账户行")
    private String accountBank;

    /**
     * 需提前清结算天数
     */
    @ExcelProperty(value = "需提前清结算天数")
    private String clearingDate;

    /**
     * 平台截止时间
     */
    @ExcelProperty(value = "平台截止时间点")
    @JsonFormat(pattern = "HH:mm", timezone = "GMT+8")
    private Date platformDeadline;

    /**
     * 应急清结算截止时间
     */
    @ExcelProperty(value = "应急清结算截止时间点")
    @JsonFormat(pattern = "HH:mm", timezone = "GMT+8")
    private Date crashTime;

    /**
     * 单笔处理时长
     */
    @ExcelProperty(value = "单笔处理时长")
    private Integer processingTime;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remarks;

}
